.LayoutHeader_Com_Container {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 72px;
  background-color: #1f1f1f;
  > * {
    color: #fff;
  }
  .flexBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    // border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    .rightView {
      display: flex;
      .tools {
        display: flex;
        align-items: center;
        margin-right: 20px;
        @keyframes xpf {
          0% {
            opacity: 1;
          }
          50% {
            opacity: 0.5;
          }
          100% {
            opacity: 1;
          }
        }
        .errorIcon {
          color: red;
          font-size: 20px;
          opacity: 0.5;
          animation: xpf 2s infinite;
        }
        .toolItem {
          width: 20px;
          height: 20px;
          cursor: pointer;
          img {
            display: block;
          }
        }
      }
    }
  }
  .headerTabBarBox::-webkit-scrollbar,
  .headerTabBarBox::-moz-scrollbar {
    width: 3px !important;
    height: 3px !important;
  }
  .headerTabBarBox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 32px;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--bd);
    .tabs {
      display: flex;
      align-items: center;
      height: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      .reload {
        margin-left: 15px;
        color: var(--font-a60);
        cursor: pointer;
      }
      .tabItem {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
        margin: 0 20px;
        padding: 10px 0;
        color: var(--font-a60);
        font-size: 13px;
        white-space: nowrap;
        cursor: pointer;
        .closeIcon {
          margin-left: 8px;
          font-size: 10px;
        }
        &:last-child::after {
          width: 0;
          height: 0;
          background-color: transparent;
        }
        &::after {
          position: absolute;
          right: -20px;
          width: 1px;
          height: 12px;
          background-color: var(--bd);
          content: '';
        }
      }
      .activeTab {
        color: var(--font-primary);
        border-bottom: 2px solid var(--bd-primary);
      }
    }
    .more {
      height: 100%;
      padding: 0 25px;
      color: var(--font-a60);
      font-size: 14px;
      line-height: 32px;
      cursor: pointer;
    }
    .more::after {
      position: absolute;
      top: 0;
      right: 65px;
      width: 8px;
      height: 32px;
      background: linear-gradient(270deg, rgba(0, 0, 0, 0.25) -43.75%, rgba(0, 0, 0, 0) 100%);
      content: '';
    }
  }
}
.headerToggleThemeDropdownOverlay {
  :global {
    .ant-dropdown-menu {
      background-color: var(--bg-main);
      .ant-dropdown-menu-item {
        display: flex;
        align-items: center;
        height: 30px;
        color: var(--font);
        font-size: 14px;
        > svg {
          width: 20px;
          height: 20px;
          margin-right: 8px;
        }
        &:hover {
          color: var(--font-active);
          background-color: var(--base2);
          > svg {
            fill: var(--font-active);
            > path {
              fill: var(--font-active);
            }
          }
        }
      }
    }
  }
}
.headerTabBarShowMoreDropdownOverlay {
  :global {
    .ant-dropdown-menu {
      max-height: 400px;
      overflow-y: auto;
      background-color: var(--bg-main);
      .ant-dropdown-menu-item {
        color: var(--font);
        .ant-dropdown-menu-title-content {
          display: flex;
          align-items: center;
          justify-content: space-between;
          font-size: 14px;
          > span {
            margin-left: 10px;
            font-size: 14px;
          }
        }
        &:hover {
          background-color: var(--bg-click);
        }
      }
    }
  }
}

.guaranteeManagement_content {
  min-width: 175px;
  max-height: 215px;
  overflow-y: auto;
  .guaranteeManagement_content_item {
    margin: 5px 0;
    padding: 5px;
    font-size: 12px;
    line-height: 20px;
    border-bottom: 1px solid var(--btn2-hover);
    cursor: pointer;
    &:hover {
      background-color: var(--btn2-hover);
      border-radius: 5px;
    }
    & > div:first-child {
      margin-bottom: -2px;
    }
  }
}

:global {
  .ant-pro-basicLayout-content {
    position: static;
  }
}

// screen-light 大屏独有
[data-type-color='light'] {
  .LayoutHeader_Com_Container {
    .headerTabBarBox_largeScreenIn {
      background-color: rgba(34, 38, 41, 1);
      border-bottom: 1px solid rgba(78, 81, 84, 1);
      * {
        color: rgba(255, 255, 255, 1);
      }
      .tabs {
        .tabItem {
          color: rgba(255, 255, 255, 60%);
          &::after {
            background-color: rgba(78, 81, 84, 1);
          }
        }
        .activeTab {
          color: rgba(24, 160, 251, 1);
          border-bottom: 2px solid rgba(24, 160, 251, 1);
        }
      }
      .more {
        color: rgba(255, 255, 255, 60%);
      }
    }
  }
  .headerTabBarShowMoreDropdownOverlay_largeScreenIn {
    :global {
      .ant-dropdown-menu {
        background-color: rgba(34, 38, 41, 1);
        .ant-dropdown-menu-item {
          color: rgba(255, 255, 255, 1);
          &:hover {
            background-color: rgba(78, 81, 84, 0.05);
          }
        }
      }
    }
  }
}
